package org.thanos.iot.service.graphic;

import com.honeywell.tj.iot.entity.graphic.GraphicComponentFile;
import com.honeywell.tj.iot.vo.graphic.GraphicComponentFileWithPathVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GraphicComponentFileService {

    List<GraphicComponentFileWithPathVo> getComponentFiles(Integer componentId);

    List<Integer> getComponentFileIds();

    int createComponentFiles(List<GraphicComponentFile> graphicComponentFiles);

    int deleteComponentFile(@Param("graphicComponentId") Integer graphicComponentId);

    int deleteComponentFiles(List<Integer> componentIds);
}
